﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace HCFramework.Master.Admin
{
    public partial class Admin : System.Web.UI.MasterPage
    {

        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Page_Init(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                M.Common.CheckWWW();
                if (Request.UrlReferrer != null) litPreviousPage.Text = Request.UrlReferrer.AbsoluteUri;
            }
            M.Common.CheckLogin();
        }

        protected void Page_PreRender(object sender, EventArgs e)
        {
            M.Common.CheckLogin();
        }

    }
}